package cn.school.student.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import cn.school.educational.entity.Subject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@TableName("t_exam_result_info")
public class ExamResultInfoVO extends BaseVO {
    private static final long serialVersionUID = -8406250833329321226L;

    @ApiModelProperty(value = "考试ID")
    private String examId;

    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String studentId;

    @ApiModelProperty(value = "学生班级名称")
    private String studentClassName;

    @ApiModelProperty(value = "学生学号")
    private String studentCode;

    @ApiModelProperty(value = "学生班级ID")
    private String studentClassId;

    @ApiModelProperty(value = "考试等分")
    private String score;

    @ApiModelProperty(value = "是否通过考试")
    private String isPass;

    @ApiModelProperty(value = "状态 0-无效 1-有效")
    private String status;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private List<Map<String,Object>> examStudents;

    @TableField(exist = false)
    private String examName;

    @TableField(exist = false)
    private String examBeginTime;

    @TableField(exist = false)
    private String examEndTime;

    @TableField(exist = false)
    private String invigilationTeacher;

    @TableField(exist = false)
    private String levelName;

    @TableField(exist = false)
    private String termRemarks;

    @TableField(exist = false)
    private String pass;

    @TableField(exist = false)
    private String noPass;

    @TableField(exist = false)
    private String avgScore;

    @TableField(exist = false)
    private String count;

    @TableField(exist = false)
    private String dictLabel;

    @TableField(exist = false)
    private String examDate;
    
    @TableField(exist = false)
    private String classTeacherId;

    @TableField(exist = false)
    private List<SubjectVO> subjList;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();

}
